import courseware from "./modules/courseware.js";
import entranceExam from "./modules/entranceExam.js";
import examTest from "./modules/examTest";
import personalCenter from "./modules/personalCenter.js";
import vrEducation from "./modules/vrEducation.js";
import videoconferencing from "./modules/videoconferencing.js";

const mainData = [
  {
    path: "/",
    redirect: "home"
  },
  {
    path: "/login",
    name: "login",
    component: () => import("@/views/login"),
    meta: {
      title: "登录"
    }
  },
  {
    path: "/forgetPass",
    name: "forgetPass",
    component: () => import("@/views/forgetPass"),
    meta: {
      title: "忘记密码"
    }
  },
  {
    path: "/home",
    name: "home",
    component: () => import("@/views/home"),
    meta: {
      title: "首页"
    }
  },
  // {
  //   path: "/newsDetals",
  //   name: "newsDetals",
  //   component: () => import("@/views/news/details"),
  //   meta: {
  //     title: "新闻资讯详情",
  //   },
  // },
  courseware, //学习课件
  entranceExam, //考试入口
  examTest, //真题测试
  personalCenter, //个人中心
  vrEducation, //VR教育
  videoconferencing //视频会议
];

export default mainData;
